package com.oweight.sagacious.auth.server.domain.valobj;

import com.oweight.sagacious.auth.common.util.jwt.IJWTInfo;

/**
 * 客户端信息
 *
 * @author 周广明
 * @version v1 2019/10/31 13:17
 */
public class ClientInfo implements IJWTInfo {

    String id;
    String name;
    String clientId;

    public ClientInfo(String clientId, String name, String id) {
        this.clientId = clientId;
        this.name = name;
        this.id = id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getUniqueName() {
        return clientId;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getName() {
        return name;
    }
}
